package com.gec.model.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gec.model.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 图片表
 * </p>
 *
 * @author dafei
 * @since 2024-01-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("itrip_image")
public class ITripImage extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 图片类型(0:酒店图片1:房间图片2:景点图片3:用户图片)
     */
    @TableField("type")
    private String type;

    /**
     * 关联id
     */
    @TableField("targetId")
    private Long targetId;

    /**
     * 标题
     */
    @TableField("title")
    private String title;

    /**
     * 描述
     */
    @TableField("details")
    private String details;

    /**
     * 缩略图
     */
    @TableField("image")
    private String image;

    /**
     * 播放连接
     */
    @TableField("url")
    private String url;

    /**
     * 播放id,阿里云提供
     */
    @TableField("play_id")
    private String playId;

}
